package adv10;

/**
 * @author oldliu
 * @since 1.0
 */
public class Yuan {
    private double r;
    public static final double PI=3.14;

    public double getArea(){
        return r*r*PI;
    }
    public void setR(double r){
        this.r=r;
    }
}
